package cn.jeeweb.web.modules.equipment.entity;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.jeeweb.common.annotate.UiPropertyField;
import cn.jeeweb.common.flag.ObjectMark;
import cn.jeeweb.common.mvc.entity.DataEntity;
import cn.xjzn.framework_Core.ModuleServe;
import com.baomidou.mybatisplus.annotations.TableField;

/**
 * Created by zll on 2019/11/12.
 * 设备备件
 */
public class EqsParts  extends DataEntity<String> implements ObjectMark {

    @TableField(value = "code")
    @Excel(name = "设备编号", orderNum = "0", width = 20.0D)
    @UiPropertyField(moduleId = ModuleServe.eqsPartsModule,propertyName = "code",labelText="设备编号",displayPosition = 1)
    private String code;
    @TableField(value = "relation_equipment")
    @Excel(name = "关联设备编号", orderNum = "1", width = 20.0D)
    @UiPropertyField(moduleId = ModuleServe.eqsPartsModule,propertyName = "relationEquipment",labelText="关联设备编号",displayPosition = 2)
    private String relationEquipment;
    @TableField(value = "is_common")
    @UiPropertyField(moduleId = ModuleServe.eqsPartsModule,propertyName = "isCommon",labelText="是否通用",displayPosition = 3)
    private String isCommon;
    @TableField(value = "importance_degree")
    @Excel(name = "重要程度", orderNum = "2", width = 20.0D)
    @UiPropertyField(moduleId = ModuleServe.eqsPartsModule,propertyName = "importanceDegree",labelText="重要程度",displayPosition = 4,dictCode = "importanceDegree")
    private String importanceDegree;
    @TableField(value = "min_stock")
    @Excel(name = "最低库存", orderNum = "3", width = 20.0D)
    @UiPropertyField(moduleId = ModuleServe.eqsPartsModule,propertyName = "minStock",labelText="最低库存",displayPosition = 5)
    private Integer minStock;
    @TableField(value = "purchase_value")
    @Excel(name = "采购价值", orderNum = "4", width = 20.0D)
    @UiPropertyField(moduleId = ModuleServe.eqsPartsModule,propertyName = "purchaseValue",labelText="采购价值",displayPosition = 6)
    private String purchaseValue;
    @TableField(value = "supplier_information")
    @Excel(name = "供应商信息", orderNum = "5", width = 20.0D)
    @UiPropertyField(moduleId = ModuleServe.eqsPartsModule,propertyName = "purchaseValue",labelText="供应商信息",displayPosition = 7)
    private String supplierInformation;


    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getRelationEquipment() {
        return relationEquipment;
    }

    public void setRelationEquipment(String relationEquipment) {
        this.relationEquipment = relationEquipment;
    }

    public String getIsCommon() {
        return isCommon;
    }

    public void setIsCommon(String isCommon) {
        this.isCommon = isCommon;
    }

    public String getImportanceDegree() {
        return importanceDegree;
    }

    public void setImportanceDegree(String importanceDegree) {
        this.importanceDegree = importanceDegree;
    }

    public Integer getMinStock() {
        return minStock;
    }

    public void setMinStock(Integer minStock) {
        this.minStock = minStock;
    }

    public String getPurchaseValue() {
        return purchaseValue;
    }

    public void setPurchaseValue(String purchaseValue) {
        this.purchaseValue = purchaseValue;
    }

    public String getSupplierInformation() {
        return supplierInformation;
    }

    public void setSupplierInformation(String supplierInformation) {
        this.supplierInformation = supplierInformation;
    }
}
